Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error out on redirects #61

Merged
merged 1 commit into from Apr 5, 2012
Merged

Error out on redirects #61

merged 1 commit into from Apr 5, 2012

Conversation

as016194
Copy link
Contributor

@as016194 as016194 commented Apr 5, 2012

Currently, if a redirect is encountered by the client, it will return successfully with the response body. Not all redirects have response bodies, and the upload was not successful. Ideally the client would follow redirects, but this is a quick fix to avoid silent failure.

This way a silent failure won't occur for redirects without a body.
tomlea added a commit that referenced this pull request Apr 5, 2012
Error out on redirects.

Sane/Valid redirects will be followed by http_client anyway.
@tomlea tomlea merged commit a079123 into geminabox:master Apr 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants